<li>
    <div class="date"><?= $fields['created']->content ?></div>
    <span class="aTitle"><?= $fields['title']->content ?></span>
    <?= $img = $fields['field_image']->content ?>
    <div class="txt <?= strlen($img) ? 'img' : ''?>" ><?= $fields['body']->content ?>
        <div class="kwords">
            <? $tags = $fields['field_tags']->content ?>
            <?= strlen($tags) ? 'Метки: ' . $tags : '' ?>
        </div>
    </div>
    <ul class="minies">
        <!--li><a class="st">12</a></li-->
        <li><a class="vi"><?= $fields['totalcount']->content ?></a></li>
        <li><a class="co"><?= $fields['comment_count']->content ?></a></li>
    </ul>
    <div class="cb"><span><!-- just for correct floatin' --></span></div>
</li>